﻿using System.Runtime.Serialization;

namespace Framework.Wcf.ServiceContract
{
    /// <summary>
    ///   Becareful, Use only DataContract Serializer for FaultContract in WCF
    ///   Protobuf-net does not work for FaultException.
    ///   It's not really important because the traffic is more important for entities
    ///   than exceptions
    /// </summary>
    [DataContract]
    public class MyFault
    {
        [DataMember]
        public string Info { get; set; }
    }
}